package cn.offer.service.impl;

import cn.offer.domain.BigAmount;
import cn.offer.domain.YixuePaotuiFabu;
import cn.offer.domain.YixuePaotuiFabuExample;
import cn.offer.mapper.YixuePaotuiFabuMapper;
import cn.offer.service.PaoTuiFaBuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Snake Eyes
 * @PROJECT_NAME: paotui
 * @DESCRIPTION:
 * @USER: 11647
 * @DATE: 2021/5/24 9:17
 * @Email: 1164763541@qq.com
 */
@Service
public class PaoTuiFaBuServiceImpl implements PaoTuiFaBuService {
    @Autowired
    private YixuePaotuiFabuMapper fabuMapper;

    @Override
    public long countByExample(YixuePaotuiFabuExample example) {
        return 0;
    }

    @Override
    public int deleteByExample(YixuePaotuiFabuExample example) {
        return 0;
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return 0;
    }

    @Override
    public int insert(YixuePaotuiFabu record) {
        return 0;
    }

    @Override
    public int insertSelective(YixuePaotuiFabu record) {
        return 0;
    }

    @Override
    public List<YixuePaotuiFabu> selectByExample(YixuePaotuiFabuExample example) {
        return null;
    }

    @Override
    public YixuePaotuiFabu selectByPrimaryKey(Integer id) {
        return fabuMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(YixuePaotuiFabu record, YixuePaotuiFabuExample example) {
        return 0;
    }

    @Override
    public int updateByExample(YixuePaotuiFabu record, YixuePaotuiFabuExample example) {
        return 0;
    }

    @Override
    public int updateByPrimaryKeySelective(YixuePaotuiFabu record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(YixuePaotuiFabu record) {
        return 0;
    }

    @Override
    public void insert() {

    }

    @Override
    public YixuePaotuiFabu loadById() {

        return null;
    }

    @Override
    public BigAmount getServiceAmount() {
        return null;
    }

    @Override
    public List<YixuePaotuiFabu> findAll() {
        List<YixuePaotuiFabu> yixuePaotuiFabus = fabuMapper.selectByExample(new YixuePaotuiFabuExample());
        return yixuePaotuiFabus;
    }
}
